package com.qfedu.sem.repository;
import java.util.List;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.repository.JpaRepository;

import com.qfedu.sem.po.BugVersion;

/**
 * 实体BugVersion基于spring-data的DAO接口.
 * @author cailei
 */
public interface BugVersionRepository extends JpaRepository<BugVersion, java.lang.String>{

	Page<BugVersion> findAllBynoLike(java.lang.String searchContent, Pageable pageInput);

	int deleteByIdIn(String[] id);

	List<BugVersion> findAllByOrderByProjectId();

	List<BugVersion> findAllByProjectIdOrderById(String projectId);
}
